# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月28日
"""
import pandas as pd

data1 = pd.Series(['叶问', '李小龙', '孙兴华'], index=[1, 2, 3], name='姓名')
data2 = pd.Series(['男', '男', '男'], index=[1, 2, 3], name='性别')
data3 = pd.Series([127, 80, 20], index=[1, 2, 3], name='年龄')

table = pd.DataFrame({data1.name:data1,data2.name:data2,data3.name:data3})
print(table)
